﻿using System.Configuration;

namespace Altairis.MailToolkit.Configuration {

    public class HeadersElement : ConfigurationElement {

        [ConfigurationProperty("addReceived", IsRequired = false, DefaultValue = true)]
        public bool AddReceived {
            get { return (bool)this["addReceived"]; }
            set { this["addReceived"] = value; }
        }

        [ConfigurationProperty("addMailer", IsRequired = false, DefaultValue = true)]
        public bool AddMailer {
            get { return (bool)this["addMailer"]; }
            set { this["addMailer"] = value; }
        }
    }
}